package com.gae.blore.server;

import java.util.List;

import com.gae.blore.client.HospitalService;
import com.gae.blore.client.domain.Hospital;
import com.gae.blore.server.dao.HospitalServiceDao;
import com.gae.blore.server.dao.IHospitalServiceDao;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

public class HospitalServiceImpl extends RemoteServiceServlet implements
		HospitalService {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5334029148953602477L;
	IHospitalServiceDao hospitalServiceDao = new HospitalServiceDao();

	@Override
	public List<Hospital> getAllHospitals() {

		return hospitalServiceDao.getAllHospitals();
	}

	@Override
	public Hospital getHospital(Long id) {/*
	
		
	*/
		return hospitalServiceDao.getHospital(id);
	}

}
